#pragma once
#include "window.h"

namespace DinoUI
{
	class DragWindow :
		public Window
	{
		bool m_bVerticalDragEnable;
		bool m_bHorizontalDragEnable;

		bool m_bIsDragged;
		bool m_bEnableDrag;
		int m_dragX;
		int m_dragY;

	public:
		DragWindow(void);
		~DragWindow(void);

		bool HandleEvent(WidgetEvent *evt);
		void EnableVerticalDrag(bool enable);
		void EnableHorizontalDrag(bool enable);
	};
}


